package com.infocollect.project.grant.domain;

import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.TreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 派出单位管理对象 gr_company
 *
 * @author infocollect
 * @date 2022-05-18
 */
public class GrCompanyExportDto extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String comCode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String comName;
    /** 计划数量 */
    @Excel(name = "计划数量")
    private Integer plannedQuantity;
    /** 级别 */
    @Excel(name = "级别")
    private Integer lvl;
    @Excel(name="注册链接")
    private String registerUrl;
    /**
     * 报名人数(下级)
     */
    private Long enrollQuantity;
    /**
     * 如果是第三级，这里就是本级的报名人数
     */
    private Long enrollQuantityLvl;
    private String confirmFileurl;
    public String getComCode() {
        return comCode;
    }

    public void setComCode(String comCode) {
        this.comCode = comCode;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public Integer getPlannedQuantity() {
        return plannedQuantity;
    }

    public void setPlannedQuantity(Integer plannedQuantity) {
        this.plannedQuantity = plannedQuantity;
    }

    public Integer getLvl() {
        return lvl;
    }

    public void setLvl(Integer lvl) {
        this.lvl = lvl;
    }

    public String getRegisterUrl() {
        return registerUrl;
    }

    public void setRegisterUrl(String registerUrl) {
        this.registerUrl = registerUrl;
    }

    public Long getEnrollQuantity() {
        return enrollQuantity;
    }

    public void setEnrollQuantity(Long enrollQuantity) {
        this.enrollQuantity = enrollQuantity;
    }

    public Long getEnrollQuantityLvl() {
        return enrollQuantityLvl;
    }

    public void setEnrollQuantityLvl(Long enrollQuantityLvl) {
        this.enrollQuantityLvl = enrollQuantityLvl;
    }

    public String getConfirmFileurl() {
        return confirmFileurl;
    }

    public void setConfirmFileurl(String confirmFileurl) {
        this.confirmFileurl = confirmFileurl;
    }

    @Override
    public String toString() {
        return "GrCompanyExportDto{" +
                "comCode='" + comCode + '\'' +
                ", comName='" + comName + '\'' +
                ", plannedQuantity=" + plannedQuantity +
                ", lvl=" + lvl +
                ", registerUrl='" + registerUrl + '\'' +
                ", enrollQuantity=" + enrollQuantity +
                ", enrollQuantityLvl=" + enrollQuantityLvl +
                '}';
    }
}
